package com.heima.reggie.mapper;
import java.util.Collection;
import java.util.List;

import com.heima.reggie.domain.DishFlavor;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author liulanhui
* @description 针对表【dish_flavor(菜品口味关系表)】的数据库操作Mapper
* @createDate 2023-01-03 16:38:10
* @Entity com.heima.reggie.domain.DishFlavor
*/
@Mapper
public interface DishFlavorMapper extends BaseMapper<DishFlavor> {
    List<DishFlavor> selectAllByDishId(@Param("dishId") Long dishId);

    int deleteByDishId(@Param("dishId") Long dishId);

    int deleteByDishIdIn(@Param("dishIdList") Collection<Long> dishIdList);
}




